/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.chl.vrangogym.beans.backing;

import java.io.Serializable;
import javax.enterprise.context.RequestScoped;
import javax.faces.bean.ManagedBean;
import javax.validation.constraints.Size;

/**
 *
 * @author Anders
 */
@ManagedBean(name = "Register")
@RequestScoped
public class RegisterBackingBean implements Serializable {

    @Size(min = 1, message = "*")
    private String firstname;
    @Size(min = 1, message = "*")
    private String lastname;
    @Size(min = 1, message = "*")
    private String mail;
    @Size(min = 1, message = "*")
    private String phone;
    @Size(min = 1, message = "*")
    private String street;
    @Size(min = 1, message = "*")
    private String zipCode;
    @Size(min = 1, message = "*")
    private String city;
    @Size(min = 1, message = "*")
    private String username;
    @Size(min = 1, message = "*")
    private String password;
    @Size(min = 1, message = "*")
    private String password2;

    public RegisterBackingBean() {
    }

    public String getFirstname() {
        return firstname;
    }

    public void setFirstname(String firstname) {
        this.firstname = firstname;
    }

    public String getLastname() {
        return lastname;
    }

    public void setLastname(String lastname) {
        this.lastname = lastname;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street;
    }

    public String getZipCode() {
        return zipCode;
    }

    public void setZipCode(String zipCode) {
        this.zipCode = zipCode;
    }
    
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPassword2() {
        return password2;
    }

    public void setPassword2(String password2) {
        this.password2 = password2;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
    
}
